import EvaluationSelect, { Value as EvaluationSelectValue } from "@/components/EvaluationSelect";
import { Form, FormInstance } from "antd";
import { EvaluationCategory } from "common/utils/data";


export default function UpdateAndKeepEQConfirm({
    form,
}: {
    form: FormInstance<FormData>;
}) {

    return <Form form={form}>
        <Form.Item name="current" label="更换当前耳机" required rules={[{ required: true, message: '请选择更换当前耳机' }]}>
            <EvaluationSelect category={EvaluationCategory.EARBUDS} withDataGroup />
        </Form.Item>
    </Form>;
}

export interface FormData {
    current: EvaluationSelectValue<true>;
}